.katex-display {
  display: inline-block !important;
}

.katex-display>.katex {
  display: inline-block !important;
}